package Demo4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-06-10
 * Time: 16:02
 */
public class Fish extends Animal implements ISwimming{
    public Fish(String name) {
        super(name);
    }
    @Override
    public void swim() {
        System.out.println("鱼正在游泳。。。");
    }
}
